<?php use_helper('widget');?>
<h1>Cadastre-se no Music Inc</h1>

<?php echo form_errors_display($sf_request); ?>

<form action="<?php echo url_for("/site_dev.php/home/update");?>" method="post" class="yform">
  <div class="type-text">
    <label for="username">Login:</label>
    <input type="text" id="login" name="login" />
    <span class="message">(máx. 20 caracteres, sem espaços)</span>
  </div>

  <div class="type-text">
    <label for="email">E-mail:</label>
    <input type="text" id="email" name="email" />
  </div>

  <div class="type-text">
    <label for="password">Senha:</label>
    <input type="password" id="password" name="password" />
  </div>

  <div class="type-text">
    <label for="password-check">Senha:</label>
    <input type="password" id="password-check" name="password-check" />
  </div>

  <div class="type-check">
    <input type="checkbox" id="agreement" name="agreement" value="1" />
    <label for="agreement">Li e concordo com os <?php echo link_to('Termos de Uso', 'legal/termos') ?> e <?php echo link_to('Política de Privacidade', 'legal/privacidade') ?>.</label>
  </div>

  <div class="type-button">
    <button type="submit" id="submit" class="ui-state-default ui-corner-all"><span class="ui-icon ui-icon-circle-check"></span>Cadastre-me</button>
    ou <a href="#">ainda tenho dúvidas</a>
  </div>
</form>